<?php require('data/dbcon.php'); ?>
<?php require('data/functions.php'); ?>
<?php
if( empty($_GET['install']) ) {
	header("location: install.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">@import url('css/body.css'); </style>
<title>Welcome to Winn GuestBook <?=$version; ?></title>
</head>

<body>
<div id="login">
	
    <h2>Install <?=$version; ?> - step 2</h2>
    <p>Have you edited the dbcon.php file located in the data directory (/data/dbcon.php)? If not here is what needs to be done; $dbhost needs to be an IP address or “localhost”, $dbuser is the database user name, $dbpass is the password for that user, $dbname is the database name. After you have finished save the file and keep it in the data folder.</p>
    
    <p>If you have finished all the steps above and have the dbcon.php file in the data folder where is was located when you donwloaded this, then click install below!</p>
    
    <p><strong>Dont know what your doing?</strong> Then stop! Visit winn.ws and ask for help by emailing me at greg at winn.ws</p>
    
    <p style=" text-align:center;"><input type="button" onclick="parent.location='install_launch.php'" value="Install &raquo;" /></p>
    
</div>
</body>
</html>
